package com.ericsson.enap.modules.replay.mapper;

import com.ericsson.enap.modules.replay.entity.EpcReplayFnumberTree;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 项目下帧树结构Mapper接口
 *
 * @author wangjingshi
 * @date 2020-09-13
 */
@Mapper
public interface EpcReplayFnumberTreeMapper
{
    /**
     * 查询项目下帧树结构
     *
     * @param id 项目下帧树结构ID
     * @return 项目下帧树结构
     */
    public EpcReplayFnumberTree selectEpcReplayFnumberTreeById(Long id);

    /**
     * 查询项目下帧树结构列表
     *
     * @param epcReplayFnumberTree 项目下帧树结构
     * @return 项目下帧树结构集合
     */
    public List<EpcReplayFnumberTree> selectEpcReplayFnumberTreeList(EpcReplayFnumberTree epcReplayFnumberTree);

    /**
     * 新增项目下帧树结构
     *
     * @param epcReplayFnumberTree 项目下帧树结构
     * @return 结果
     */
    public int insertEpcReplayFnumberTree(EpcReplayFnumberTree epcReplayFnumberTree);

    /**
     * 修改项目下帧树结构
     *
     * @param epcReplayFnumberTree 项目下帧树结构
     * @return 结果
     */
    public int updateEpcReplayFnumberTree(EpcReplayFnumberTree epcReplayFnumberTree);

    /**
     * 删除项目下帧树结构
     *
     * @param id 项目下帧树结构ID
     * @return 结果
     */
    public int deleteEpcReplayFnumberTreeByProjectId(Long id);

    /**
     * 批量删除项目下帧树结构
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteEpcReplayFnumberTreeByIds(Long[] ids);

    public int deleteEpcReplayFnumberTree(EpcReplayFnumberTree epcReplayFnumberTree);
}
